LC_EVENT_SELECT Home

LiteCAD generates LC_EVENT_SELECT event when a selection set has been changed, i.e. some entities was selected or unselected.

The following properties are used for this event type:

Property Description
LC_PROP_EVENT_TYPE Value LC_EVENT_SELECT
LC_PROP_EVENT_DRW Handle to a drawing
LC_PROP_EVENT_BLOCK Handle to a block which contains the entity
LC_PROP_EVENT_ENTITY Handle to affected entity.
If a number of affected entities is greater then one, then this is a handle to first affected entity.
LC_PROP_EVENT_INT1 1 - selected, 0 - unselected
LC_PROP_EVENT_INT2 Number of affected entities, i.e. that was selected or unselected with the event.
LC_PROP_EVENT_INT3 Total number of entities in selection set.